package com.ft.f_springboot_route.service;

import com.ft.f_springboot_route.bean.Shop;
import com.ft.f_springboot_route.utils.Pager;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ShopService {
    Pager<Shop> pager(Integer currentPage ,String shop_name,String shop_tel,String shop_address);
    long getShopTotal(String shop_name,String shop_tel,String shop_address);
    List<Shop> SelectShopList();
    List<Shop> SelMultiShopList( Integer currentPage, String shopName,  String shopTel, String shopAddress);
    Shop SelectShopId(Integer shop_id);
    void AddShop(Shop shop);
    void DelShopById(Integer shop_id);
    void EditShop(Shop shop);
}
